<?php
/**
 * User: 269995848@qq.com
 * Date: 2019/2/27 14:57
 */

namespace app\qqbot\controller;


//use \app\qqbot\service\Index;

use app\lib\enum\QqBot;
use app\qqbot\model\User;
use think\facade\Cache;

class Index{

    public function Index(){

        $data=new \app\qqbot\service\Index();
        $data->index();

        //$api=redisObj()->set(QqBot::SHIELD,QqBot::configShield());
        //$a=(redisObj()->get(QqBot::SHIELD)['rate'])?QqBot::RATE_LIMITED:'';
        //halt($a);
    }
}